Skip to content

feat: expose WebAssembly trap handler binding#2012

Merged
nathanwhit merged 1 commit into
denoland:mainfrom
nathanwhit:codex/enable-wasm-trap-handler
Jul 13, 2026
Merged

feat: expose WebAssembly trap handler binding#2012
nathanwhit merged 1 commit into
denoland:mainfrom
nathanwhit:codex/enable-wasm-trap-handler

Conversation

@nathanwhit

Copy link
Copy Markdown
Member

Summary

Adds a thin Rust binding for v8::V8::EnableWebAssemblyTrapHandler(bool).

The new v8::V8::enable_web_assembly_trap_handler(use_v8_signal_handler) wrapper forwards through a C shim in src/binding.cc, matching the existing V8 global API binding style.

Validation

  • cargo fmt --check
  • ninja -C target/debug/gn_out obj/rusty_v8/binding.o

cargo check -p v8 currently stops on an unrelated existing bindgen constant mismatch in src/string.rs (v8_String_WriteFlags_* vs WriteFlags_*).

@nathanwhit
nathanwhit merged commit 90c4f80 into denoland:main Jul 13, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants